<%-- 
    Document   : response
    Created on : 1/10/2012, 06:02:24 PM
    Author     : m
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <jsp:useBean id="mes" scope="session" class="org.mypackage.calculo.Calculo" />
        <jsp:useBean id="dia" scope="session" class="org.mypackage.calculo.Calculo" />
        <jsp:useBean id="mesencontrado" scope="session" class="org.mypackage.calculo.Calculo" />
        <jsp:useBean id="calculoEncontrado" scope="session" class="org.mypackage.calculo.Calculo" />
        <jsp:useBean id="diasDeMeses" scope="session" class="org.mypackage.calculo.Calculo" />


        <jsp:setProperty name="dia" property="dia"  />
        <jsp:setProperty name="mes" property="mes"/>
        <jsp:setProperty name="mesencontrado" property="mesencontrado" />
        <jsp:setProperty name="diasDeMeses" property="diasDeMeses" />
        <jsp:setProperty name="calculoEncontrado" property="calculoEncontrado" />

        <h1>Del 1ro de Enero al  <jsp:getProperty name="dia" property="dia" /> de 
            <jsp:getProperty name="mes" property="mesencontrado" /> han trascurrido
            <jsp:getProperty name="mes" property="calculoEncontrado" />

        </h1>
    </body>
</html>
